Hệ thống quản lý phương tiện trong PHP

1 <?php
2    $conn=mysqli_connect(
'localhost','root','','vehicle management');
3    $sql=
"SELECT * FROM bill ";
4    $result=mysqli_query($conn,$sql);
5 ?>
6
7
8
9
10
11
12 <!DOCTYPE html>
13 <html lang=
"en">
14   <head>
15     <meta charset=
"utf-8">
16     <meta http-equiv=
"X-UA-Compatible" content="IE=edge">
17     <meta name=
"viewport" content="width=device-width, initial-scale=1">
18     
19     <title>Insert</title>
20
21     <!-- Bootstrap -->
22     <link href=
"css/bootstrap.min.css" rel="stylesheet">
23     <link rel=
"stylesheet" href="animate.css">
24     <link rel=
"stylesheet" href="style.css">
25
26     
27   </head>
28   <body>
29     
30     <br><br><br>
31      
32     <div
class="container">
33       <div
class="row">
34         <div
class="col-md-2">
35           <a
class="btn btn-info" href="indexbill.php">Bill List</a>
36         </div>
37         <div
class="col-md-8 animated flash">
38         <h2>Billing</h2>
39         <hr>
40
41         <form action=
"storebill.php?busid=<?php echo $veh_id; ?>" method="POST">
42         
43
44         <div
class="form-group">
45           <label
for="Roll">Service Charge :</label>
46           <input required type=
"text" class="form-control" name="salary" placeholder="Service Charge">
47         </div>
48         
49         <div
class="form-group">
50           <label
for="Age">Equipment :</label>
51           <input type=
"text" class="form-control" name="equipment" placeholder="Equipment">
52         </div>
53
54         <div
class="form-group">
55           <label
for="Address">Oil :</label>
56           <input type=
"text" class="form-control" name="oil" placeholder="Oil">
57         </div>
58
59         <div
class="form-group">
60           <label
for="Mobile">Total cost :</label>
61           <input type=
"text" class="form-control" name="tcost" placeholder="Total cost">
62         </div>
63         <button type=
"submit" class="btn btn-info">Submit</button>
64       </form>
65         
66         </div>
67       </div>
68     </div>
69
70
71     <!-- jQuery (necessary
for Bootstrap's JavaScript plugins) -->
72     <script src=
"https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
73     <!-- Include all compiled plugins (below), or include individual files
as needed -->
74     <script src=
"js/bootstrap.min.js"></script>
75   </body>
76 </html>


Gõ tìm kiếm nhanh...